An abstract interface representing entries in a file system, each of
which may be a FileEntrySync or DirectoryEntrySync.
| Operations |
| EntrySync | - copyTo(DirectoryEntrySync parent, optional DOMString newName)
- Copy an entry to a different location on the file system.
|
| Metadata | - getMetadata()
- Look up metadata about this entry.
|
| DirectoryEntrySync | - getParent()
- Look up the parent DirectoryEntrySync containing this Entry. If
this EntrySync is the root of its filesystem, its parent is itself. No parameters.Return type: DirectoryEntrySync
|
| EntrySync | - moveTo(DirectoryEntrySync parent, optional DOMString newName)
- Move an entry to a different location on the file system.
|
| void | - remove()
- Deletes a file or directory. It is an error to attempt to delete
a directory that is not empty. It is an error to attempt to
delete the root directory of a filesystem.
|
| DOMString | - toURL()
- Returns a URL that can be used to identify this entry. Unlike the URN defined in [FILE-API-ED], it has no specific
expiration; as it describes a location on disk, it should be valid
at least as long as that location exists.
|